import * as ax from './request';

export const url = ax.url + '/op'
// export const url = ax.url

export const getMemberGrowthList = (params) => {
    return ax.g(url + '/member/growths', params)
}

export const getMemberGrowth = (params) => {
    return ax.g(url + '/member/growths/' + params.id, params)
}

export const createMemberGrowth = (params) => {
    return ax.p(url + '/member/growths', params)
}

export const updateMemberGrowth = (params) => {
    return ax.u(url + '/member/growths/' + params.id, params)
}

export const delMemberGrowth = (params) => {
    return ax.d(url + '/member/growths/' + params.id, params)
}
